package com.atguigu.gulimall.seckill.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @ ClassName CouponFeignService
 * @ Description TODO
 * @ Author admin
 * @ Date 2021/4/9 17:31
 * @ Version 1.0
 */
@FeignClient("gulimall-coupon")
public interface CouponFeignService {
    /**
     * 查询最近三天需要参加秒杀商品的信息
     * @return
     */
    @GetMapping(value = "/coupon/seckillsession/Lates3DaySession")
    R getLates3DaySession();
}
